package 三元表达式.Demo;

public class Demo02 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        int c = 30;
        int num = 10 > 20 ? a : b;
        System.out.println(num > 30 ? num : c);
    }
}
